
/**
 * Project Name:cats-core
 * File Name:XzqhCondition.java
 * Package Name:com.catsic.core.conditon
 * Date:2014年4月15日下午3:11:29
 * Copyright (c) 2014, oa.catsic.com All Rights Reserved.
 */
 
package com.catsic.logs.condition;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.catsic.base.conditon.Condition;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonFormat.Shape;
/**
 * ClassName: MessageCondition
 * Description: MessageCondition查询类
 * date: 2014年4月15日 下午3:11:29
 * author: yangyd
 */
public class LogsCondition implements Condition{

	private static final long serialVersionUID = 6252828780931700166L;
	
	/**
	 * organCode:机构代码
	 */
	private String organCode;
	
	/**
	 * organName:机构名称
	 */
	private String organName;
	
	/**
	 * createName:操作人
	 */
	private String createName;
	
	/**
	 * module:模块名称
	 */
	private String module;
	
	/**
	 * module:模块名称
	 */
	private String operation;
	
	/**
	 * 开始日期
	 **/
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",shape = Shape.STRING,timezone = "GMT+8")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date startDate;
	
	/**
	 * 结束日期
	 **/
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",shape = Shape.STRING,timezone = "GMT+8")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date endDate;

	public String getOrganCode() {
		return organCode;
	}

	public void setOrganCode(String organCode) {
		this.organCode = organCode;
	}

	public String getOrganName() {
		return organName;
	}

	public void setOrganName(String organName) {
		this.organName = organName;
	}

	public String getCreateName() {
		return createName;
	}

	public void setCreateName(String createName) {
		this.createName = createName;
	}

	public String getModule() {
		return module;
	}

	public void setModule(String module) {
		this.module = module;
	}

	public String getOperation() {
		return operation;
	}

	public void setOperation(String operation) {
		this.operation = operation;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
}
